package oneRegInstructions;

import java.io.FileNotFoundException;
import java.io.IOException;

import main.MIPSSimulator;

import twoRegInstructions.MIPSTwoRegInstruction;


public class Lui extends MIPSOneRegInstruction {
	public Lui(String input) throws FileNotFoundException, IOException {
		super(input);
		myName = "lui";
	}

	@Override
	public void execute() {
		MIPSSimulator.myRegisters.put(myRegisterOne, myImmediateValue << 16);
	}
}
